<template>
  <h1>{{result}}</h1>
</template>

<script>
import { defineComponent }  from "vue";
export default defineComponent({
  setup() {
    return new Promise((resolve, reject) => {
      setTimeout(() => {
        resolve({
          result: "异步组件1"
        });
      }, 2000)
    })
  }
})
</script>